<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="../vuejs/vue.js"></script>
    <template id="my-app">
        <img v-bind:src="imgUrl" alt="">
        <a v-bind:href="hrefUrl">百度一下</a>
        <!-- 语法糖 -->
        <img :src="imgUrl" alt="">
        <a :href="hrefUrl">百度一下</a>
    </template>
    <script>
        Vue.createApp({
            template:`#my-app`,
            data(){
                return{
                    imgUrl:"http://www.wfspxy.edu.cn/images/logo.png",
                    hrefUrl:"https://www.baidu.com"
                }
            }

        }).mount('#app')
    </script>
</body>
</html>